package com.example.mq.enums;

public enum MsgStatusEnum
{
    INIT(0, "待投递"),
    SUCCESS(1, "已投递到MQ"),
    FAIL(2, "投递MQ失败");

    //状态
    private Integer status;

    //描述
    private String description;

    MsgStatusEnum(Integer status, String description)
    {
        this.status = status;
        this.description = description;
    }

    public Integer getStatus()
    {
        return status;
    }

    public String getDescription()
    {
        return description;
    }
}
